import React from 'react';
import {
    View,
    StyleSheet,
    TurboModuleRegistry
} from 'react-native';

export function getTurboModules() {
    let miotSDK = TurboModuleRegistry.getEnforcing('SampleTurboModule');
    miotSDK["test"] = '12321';
    // miotSDK可以新增属性则代表修补成功
    console.log(miotSDK);
    return (
        <View style={styles.container}>
            <Text>下方如果包含test属性则说明修补成功</Text>
            <Text>{miotSDK}</Text>
        </View>
    );
}